package com.kingdee.eas.custom.bases;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class AssociateUnitFactory
{
    private AssociateUnitFactory()
    {
    }
    public static com.kingdee.eas.custom.bases.IAssociateUnit getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.custom.bases.IAssociateUnit)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("6D1EFE71") ,com.kingdee.eas.custom.bases.IAssociateUnit.class);
    }
    
    public static com.kingdee.eas.custom.bases.IAssociateUnit getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.custom.bases.IAssociateUnit)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("6D1EFE71") ,com.kingdee.eas.custom.bases.IAssociateUnit.class, objectCtx);
    }
    public static com.kingdee.eas.custom.bases.IAssociateUnit getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.custom.bases.IAssociateUnit)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("6D1EFE71"));
    }
    public static com.kingdee.eas.custom.bases.IAssociateUnit getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.custom.bases.IAssociateUnit)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("6D1EFE71"));
    }
}